//
// Parse.hpp for math 201 in /home/druart_p/Work/math/201
// 
// Made by pierrick druart
// Login   <druart_p@epitech.net>
// 
// Started on  Mon Feb 13 10:57:14 2012 pierrick druart
// Last update Mon Feb 20 14:00:22 2012 
//

#ifndef _PARSE_
#define _PARSE_

#include <string>
#include <list>

class Parser
{
  private:
    std::list<std::string>	_fluxlist;
    std::list<std::string>	list;

  public:
    Parser();
    Parser(const std::string&);
    ~Parser();

  public:
    const std::list<std::string>&	getFluxList() const;
    const std::list<std::string>&	getList() const;
    void				dumpList();

  public:
    void			parseFlux(const std::string & flux);
    void			getFluxFromFile(const std::string & file);
};

#endif /* __PARSE_HPP__ */
